package com.roi.njzk_big_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jason
 * @since 2020-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WaterCopy1对象", description="")
public class WaterCopy1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键Id")
    private Integer waterId;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "端口")
    private String port;

    @ApiModelProperty(value = "比例系数")
    private Double divisionCoefficient;

    @ApiModelProperty(value = "查询报文命令")
    private String queryMessage;

    @ApiModelProperty(value = "实际值")
    private Double actualValue;

    @ApiModelProperty(value = "主键Id")
    @TableId(value = "copy_id", type = IdType.AUTO)
    private Integer copyId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
